/**
 * Created with Intellij IDEA.
 * Description:
 * User:Lenovo
 * Date:2024-12-05
 * Time:20:00
 */
public class Text {
    public static void main(String[] args) {
        Computer computer = new Computer();
        computer.powerOn();
        computer.UseDevice(new Mouse());
        computer.UseDevice(new KeyBoard());
        computer.powerOff();
    }
}
